package com.liu.webstore.service;

import com.liu.webstore.entity.Comment;

import java.util.List;

/**
 * @Author LiuYumei
 * @Date 2022/7/25 22:15
 */
public interface CommentService {
    List<Comment> findCommentsByEntity(int entityType, int entityId, int offert, int limit);

    int findCommentCount(int entityType, int entityId);

    int addComment(Comment comment);

    Comment findCommentById(int entityId);
}
